package com.rybbaby.tss.front.tssTransitionFeesSet.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @description 过渡收费设置
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:43:26
 */
@Entity
@Table(name = "tss_transition_fees_set")
@DynamicUpdate(true)
@DynamicInsert(true)
public class TssTransitionFeesSet implements Serializable {
	
	private static final long serialVersionUID = 56353797763197L;
	
	/** 主键 **/
	private String id;
	/** 收费名称 **/
	private String name;
	/** 创建人 **/
	private String adminUserId;
	/** 当前状态 **/
	private Integer status;
	/** 创建时间 **/
	private java.sql.Timestamp createTime;
	/** 修改时间 **/
	private java.sql.Timestamp updateTime;
	/** 版本 **/
	private Integer version;
	/**
	 * 是否停用
	 */
	private Boolean isBlockUp;
	
	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.String 主键
	 */
	@Id
	@GeneratedValue(generator = "tss_transition_fees_setIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_transition_fees_setIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}
	


	
	/**
	 * 方法: 取得创建人
	 *
	 * @return java.lang.String 创建人
	 */
	@Column(name = "adminUserId", nullable= true, length = 32)
	public String getAdminUserId() {
		return this.adminUserId;
	}
	
	/**
	 * 方法: 设置创建人
	 *
	 * @param adminUserId 创建人
	 */
	public void setAdminUserId(String adminUserId) {
		this.adminUserId = adminUserId;
	}
	
	/**
	 * 方法: 取得当前状态(数据字典:preparatoryFeeSet)
	 *
	 * @return java.lang.Integer 当前状态(数据字典:preparatoryFeeSet)
	 */
	@Column(name = "status", nullable= true, length = 11)
	public Integer getStatus() {
		return this.status;
	}
	
	/**
	 * 方法: 设置当前状态(数据字典:preparatoryFeeSet)
	 *
	 * @param status 当前状态(数据字典:preparatoryFeeSet)
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	

	
	/**
	 * 方法: 取得版本
	 *
	 * @return java.lang.Integer 版本
	 */
    @Version
	@Column(name = "version", nullable= true, length = 11)
	public Integer getVersion() {
		return this.version;
	}
	
	/**
	 * 方法: 设置版本
	 *
	 * @param version 版本
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}

	@Column(name = "isBlockUp", nullable= true, length = 1)
	public Boolean getIsBlockUp() {
		return this.isBlockUp;
	}

	public void setIsBlockUp(Boolean isBlockUp) {
		this.isBlockUp = isBlockUp;
	}

	@Column(name = "name", nullable= true, length = 32)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "createTime", nullable= true, length = 19)
	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	@Column(name = "updateTime", nullable= true, length = 19)
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}